/*window.openSPA4Single = function(routeUrl,id,opentab) {
	const spaUrl = "/spa/workflow/index_form.jsp";
    const preLoadReqInfo = routeUrl =>{
        let url = "/api/workflow/reqform/loadForm?ispreload=1&";
        url += routeUrl.split("?")[1];
        jQuery.ajax({
            type : "POST",
            url : url
        });
    }
	const timestamp = new Date().getTime();
	routeUrl += `&preloadkey=${timestamp}&timestamp=${timestamp}`;
    preLoadReqInfo(routeUrl);

    const width = screen.availWidth - 10;
	const height = screen.availHeight - 50;
    let szFeatures = "";
    if(!opentab){
		szFeatures = "top=0,left=0,";
		szFeatures += "width=" + width + ",";
		szFeatures += "height=" + height + ",";
		szFeatures += "directories=no,status=yes,toolbar=no,location=no,";
		szFeatures += "menubar=no,scrollbars=yes,resizable=yes";
    }
    window.open(spaUrl+"#"+routeUrl, "", szFeatures);
}
*/